﻿@model DrillOnline.Models.DrillSubjectEvent
@{
    Layout = "_Layout.cshtml";

    ViewBag.Title = "Image";
    var src = "/Content/Media/" + Model.AttachmentKey;
}
<div style="position:absolute;opacity:.7;">
    <span style="font-weight:bold;font-size:large; color: white;background-color:#444">图像资源</span><br /><br />
    <span style="font-weight:bold;font-size:small; color: white;background-color:#444">@Model.Title</span>
</div>
<a href="@(src)" target="_blank">
    <img style="border:none;text-decoration:none;" src="@(src)" width="100%" height="100%" />
</a>